<%--
  Created by IntelliJ IDEA.
  User: Eternity
  Date: 2020/9/11
  Time: 9:31
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>修改试题</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/css/bootstrap.min.css">
</head>
<body>
<div class="container">
    <h2>修改${list.subject}的试卷</h2>
    <form action="/paper/updateTopic" method="post">
        <%--隐藏域--%>
        <input type="hidden" name="paperId" value="${list.paperId}">
            <input type="hidden" name="titleNumber" value="${list.titleNumber}">
        <div class="form-group">
            <label for="subject">题目:</label>
            <input type="text" class="form-control" name="subject" id="subject" value="${list.subject}">
        </div>
        <div class="form-group">
            <label for="a">A、:</label>
            <input type="text" class="form-control" id="a" name="a"  value="${list.a}">
        </div>
            <div class="form-group">
                <label for="b">B、:</label>
                <input type="text" class="form-control" id="b" name="b"  value="${list.b}">
            </div>
            <div class="form-group">
                <label for="c">C、:</label>
                <input type="text" class="form-control" id="c"  name="c" value="${list.c}">
            </div>
            <div class="form-group">
                <label for="d">D、:</label>
                <input type="text" class="form-control" id="d" name="d"  value="${list.d}">
            </div>

            <div class="form-group">
                <label for="answer">answer:</label>
                <input type="text" class="form-control" id="answer" name="answer" value="${list.answer}">
            </div>
        <button type="submit" class="btn btn-primary">保存</button>
    </form>
</div>


</body>
</html>
